package api

import (
	"360video/video-api/api/handler"
	"github.com/gin-gonic/gin"
)

func LoadRouth(c *gin.Engine) {
	c.POST("register", handler.Register)
	c.POST("sendSms", handler.SendSms)
	c.POST("login", handler.Login)
	c.POST("upload", handler.Upload)
	c.POST("video", handler.VideoAdd)
	c.POST("videoList", handler.VideoList)
	c.POST("videoDetails", handler.VideoDetails)
	c.POST("videoType", handler.VideoType)
	c.POST("episodeList", handler.EpisodeList)
	c.POST("hisToryAdd", handler.HisToryAdd)
	c.POST("hisToryList", handler.HisToryList)
}
